package interfaces;

/**
 * 论坛
 */
public interface ILunTanInterface<PersonDataBean> {
    /**
     * 论坛首页
     * @param size
     * @param uid
     */
    void indexPage(int size, String uid);


    /**
     *帖子详情
     * @param id
     * @param uid
     */
    void topicDetail(int id, String uid);

    /**
     * 帖子列表
     * @param page
     * @param size
     * @param uid
     * @param kword
     */
    void topicList(int page, int size, String uid, String kword);

    /**
     * 帖子点赞
     * @param uid
     * @param pid
     * @param rid    可选,回复id,default:0
     */
    void dianzan(String uid, String pid, String rid);

    /**
     * 帖子回复列表
     * @param uid
     * @param pid
     * @param rid
     * @param page
     * @param size
     */
    void topicHuiFuList(String uid, String pid, String rid, int page, int size);

    /**
     * 帖子回复列表
     */
    void topicHuiFuListTwo(String uid, String pid, String rid, int page, int size);

    /**
     * 发帖
     * @param uid
     * @param title
     * @param content
     * @param img
     * @param reply_limit   1是0否(默认)限制回复,成功消耗积分
     * @param top           1是0否(默认)置顶,成功消耗积分
     * @param app           来源,可选范围['admin','android_driver','android_worker','pc','ios_driver','ios_worker','test','other']
     */
    void fatie(String uid, String title, String content, String img, String reply_limit, String top, String app);

    /**
     * 我的帖子
     */
    void myTieZi(String uid, int page, int size);
    /**
     * 删除我的帖子
     */
    void deleteTieZi(String uid, String pid);

    /**
     * 转载帖子
     * @param uid
     * @param content
     * @param reply_limit   1是0否(默认)限制回复,成功消耗积分
     * @param repeat_id     原贴id
     * @param app           来源,可选范围['admin','android_driver','android_worker','pc','ios_driver','ios_worker','test','other']
     */
    void zhuanfaTieZi(String uid, String content, String reply_limit, String repeat_id, String app);

    /**
     * 帖子回复
     * @param uid
     * @param pid       帖子id
     * @param rid       可选,回复id,default:0
     * @param to_uid    可选,默认时若rid为0为帖子作者否则为回复作者,default:0
     * @param content
     * @param img       可选,图片id,多个英文逗号分割,max:3
     * @param app        来源,可选范围['admin','android_driver','android_worker','pc','ios_driver','ios_worker','test','other']
     */
    void huifuTieZi(String uid, String pid, String rid, String to_uid, String content, String img, String app);

    /**
     * 签到详情
     * @param uid
     */
    void SignInShow(String uid);

    /**
     * 签到动作
     * @param uid
     */
    void SignIn(String uid);
    /**
     *  删除自己的评论
     * @param uid
     * @param rid
     */
    void deleteMyHuiFu(String uid,int rid);

}
